var gulp = require('gulp');
var sass = require('gulp-sass');
var sourcemaps = require('gulp-sourcemaps');

gulp.task('styles', function() {
	// todo::
	gulp.src('./sass/theme.scss')
		.pipe(sourcemaps.init())
		.pipe(sass().on('error', sass.logError))
		.pipe(sourcemaps.write('./maps'))
		.pipe(gulp.dest('./css/'));
});

gulp.task('default', function() {
	gulp.watch('./sass/*/*.scss', ['styles']);
});